package com.ruoyi.common.enums.php;

/**
 * 发卡状态
 */
public enum OpenCardStatus {
    NORMAL("normal", "可用"),
    PENDING_RECHARGE("pending_recharge", "待转入"),
    UNACTIVATED("unactivated", "未激活"),
    FREEZING("freezing", "冻结中"),
    FROZEN("frozen", "冻结"),
    RISK_FROZEN("risk_frozen", "风控冻结"),
    SYSTEM_FROZEN("system_frozen", "系统冻结"),
    UNFREEZING("unfreezing", "解冻中"),
    EXPIRED("expired", "过期"),
    CANCELING("canceling", "销卡中"),
    CANCELLED("cancelled", "销卡");

    private final String code;
    private final String description;

    OpenCardStatus(String code, String description) {
        this.code = code;
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}
